package com.dao;

import com.dto.in.Gw_YY;
import com.entity.GwYYInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2019/3/15 0015.
 */
public interface GwDao {

    int findPhoneIsBeing(@Param("phone")String phone);

    int inserYY(Gw_YY gy);

    int addYYSubject(@Param("id")Integer id,@Param("subjectId")String subjectId);

    List<GwYYInfo> findYY(@Param("page")Integer page,@Param("length")Integer length);

    int findYYCount();

    List<String> findSubjectName(@Param("id")Integer id);
}
